﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MLSMooc.VO.Request.Login
{
    public class SignInReq
    {
        [Required(ErrorMessage = "用户名不能为空")]
        [MaxLength(20, ErrorMessage = "用户名最大长度不超过20位")]
        public string AdminName { get; set; }

        [Required(ErrorMessage = "密码不能为空")]
        [MaxLength(25, ErrorMessage = "密码最大长度不超过25位")]
        public string Password { get; set; }

        public string EncryptPwd { get; set; }
    }
}
